package com.helloandroid.paso.utils;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ViewFlipper;

import com.helloandroid.paso.R;

public class ViewFlipperTest extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.viewflippertest);

		final ViewFlipper flipper = (ViewFlipper) findViewById(R.id.flipper);

		Button button = (Button) findViewById(R.id.uielementsreturntest_layout_button);

		button.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				flipper.showNext();
			}
		});
	}
}
